package cn.signalpha.modules.base.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 数据传输对象实体类
 *
 * @author signalpha
 */
@Data
@ApiModel(value = "HelpDTO对象", description = "帮助中心")
public class HelpDTO implements Serializable {
    private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "id")
	private Long id;

	@NotBlank
    @ApiModelProperty(value = "编码")
    private String code;

	@NotBlank
    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "简介")
    private String brief;

    @ApiModelProperty(value = "内容")
    private String content;

    @ApiModelProperty(value = "图标")
    private String icon;

	@NotNull
    @ApiModelProperty(value = "排序值")
    private Integer sort;

}
